package cn.gp.service;

import cn.gp.common.PageInfo;
import cn.gp.entity.Category;

import java.util.List;


/**
 * @ClassName CategoryService
 * @Description TODO
 * @Author He_Guoping
 * @Date 2023/5/27 15:40
 * @Version 1.0
 */
public interface CategoryService {

    PageInfo<Category> page(Integer page, Integer pageSize, String name);

    Boolean add(Category category);

    Boolean update(Category category);

    Boolean delete(Integer id);

    List<Category> getCategoryList();
}
